.coupon-top{
    width: 100%;
    height: 44px;
    background-color: #f4483e;
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    div{
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        &:first-child{
            img{
                width: 16px;
                height: 24px;
            }
        }
        &:nth-child(2){
            flex: 1;
            color: #fff;
        }
        &:last-child{
            img{
                width: 40px;
                height: 40px;
            }
        }
    }
}
.coupon-list{
    padding-top: 44px;
    .tip{
        line-height: 24px;
        font-size: 12px;
        color: #999999;
        text-align: center;
    }
    .detail-list{
        li{
            height: 160px;
            position: relative;
            display: flex;
            padding-top: 10px;
            border-bottom: 1px solid #e7e7e7;
            .productImg{
                margin: 0 8px;
                width: 100px;
                height: 80px;
            }
            .productDescription{
                flex: 1;
                padding-right: 10px;
                position: relative;
                .productName{
                    display: block;
                    color: #333;
                    font-size: 14px;
                    &:hover{
                    color: #f4483e;
                    }                    
                }
                .productPrice{
                    color: #5a5a5a;
                    font-size: 14px;
                    font-weight: bold;
                }
                .productTime{
                    font-size: 12px;
                    color: #ee7700;
                    line-height: 44px;
                    position: absolute;
                    left: 0;
                    bottom: 0;
                }
            }
            .go{
                position: absolute;
                right: 0;
                top: 40%;
                transform: translate(0,-50%);
                img{
                    width: 20px;
                    height: 30px;
                }
            }
        }
    }
    .mask{
        position: fixed;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        // display: flex跟show()一起用有bug
        // display: flex;
        // justify-content: center;
        // align-items: center;
        .swiper-outside{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            // margin-left: -150px;
            // margin-top: -72px;
            width: 300px;
            height: 144px;
            .btn-close{
                font-size: 20px;
                line-height: 30px;
                text-align: center;
                position: absolute;
                width: 30px;
                height: 30px;
                right: 25px;
                top: -25px;
                border-radius: 20%;
                // background-color: rgba(0,0,0,.3);
                border: 1px solid #999999;
            }
            .swiper-container{
                width: 200px;
                height: 144px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .swiper-button-prev{
                background-color: rgba(0,0,0,.3);
                border-radius: 10%;
                opacity: 0.6;
                outline:none;
                // width: 40px;
                // height: 60px;
            }
            .swiper-button-next{
                background-color: rgba(0,0,0,.3);
                border-radius: 10%;
                opacity: 0.6;
                outline:none;
            }
        }
    }
    .hide{
        display: none;
    }
}